home *** CD-ROM | disk | FTP | other *** search
/ Joystick Magazine 2000 November / cd joystick no120 novembre 2000 cd 1.iso / data / demos / gunlok / data1.cab / Program_Executable_Files / scripts / mplay_tf_oilrig01.gls < prev    next >
Text File  |  2000-08-22  |  8KB  |  410 lines

  1. /************/
  2. /* INCLUDES */
  3. /************/
  4.  
  5. // n.b. when multiple inclusion is prevented some of these will be automatically included by others as required
  6.  
  7. // default things to inherit our objects from
  8. #include "defaults.gsh"
  9.  
  10. // good guys
  11.  
  12. #include "hark.gsh"
  13. #include "frend.gsh"
  14. #include "gunlok.gsh"
  15.  
  16. // bad guys
  17.  
  18. #include "claw.gsh"
  19. #include "walking_mine.gsh"
  20. #include "cranium_turret.gsh"
  21. #include "rail_turret.gsh"
  22. #include "guardian_turret.gsh"
  23. #include "stalker.gsh"
  24. #include "drone.gsh"
  25. #include "creeper.gsh"
  26.  
  27. // neutral things
  28.  
  29. #include "crate.gsh"
  30.  
  31. // fires
  32.  
  33. /*********/
  34. /* NOTES */
  35. /*********/
  36.  
  37. /**********/
  38. /* SHAPES */
  39. /**********/
  40.  
  41. // world objects
  42.  
  43. shape Shp_LiftA
  44. {
  45.     file "levels\mplay_tf_oilrig01.rif"
  46.     name "LIFT A"
  47. }
  48. shape Shp_LiftswitchA
  49. {
  50.     file "levels\mplay_tf_oilrig01.rif"
  51.     name "LIFTSWITCH A"
  52. }
  53. shape Shp_LiftswitchAB
  54. {
  55.     file "levels\mplay_tf_oilrig01.rif"
  56.     name "LIFTSWITCH AB"
  57. }
  58. shape Shp_LiftswitchAC
  59. {
  60.     file "levels\mplay_tf_oilrig01.rif"
  61.     name "LIFTSWITCH AC"
  62. }
  63. shape Shp_LiftB
  64. {
  65.     file "levels\mplay_tf_oilrig01.rif"
  66.     name "LIFT B"
  67. }
  68. shape Shp_LiftswitchB
  69. {
  70.     file "levels\mplay_tf_oilrig01.rif"
  71.     name "LIFTSWITCH B"
  72. }
  73. shape Shp_LiftswitchBB
  74. {
  75.     file "levels\mplay_tf_oilrig01.rif"
  76.     name "LIFTSWITCH BB"
  77. }
  78. shape Shp_LiftswitchBC
  79. {
  80.     file "levels\mplay_tf_oilrig01.rif"
  81.     name "LIFTSWITCH BC"
  82. }
  83. shape Shp_LiftC
  84. {
  85.     file "levels\mplay_tf_oilrig01.rif"
  86.     name "LIFT C"
  87. }
  88. shape Shp_LiftswitchC
  89. {
  90.     file "levels\mplay_tf_oilrig01.rif"
  91.     name "LIFTSWITCH C"
  92. }
  93. shape Shp_LiftswitchCB
  94. {
  95.     file "levels\mplay_tf_oilrig01.rif"
  96.     name "LIFTSWITCH CB"
  97. }
  98. shape Shp_LiftswitchCC
  99. {
  100.     file "levels\mplay_tf_oilrig01.rif"
  101.     name "LIFTSWITCH CC"
  102. }
  103. shape Shp_LiftD
  104. {
  105.     file "levels\mplay_tf_oilrig01.rif"
  106.     name "LIFT D"
  107. }
  108. shape Shp_LiftswitchD
  109. {
  110.     file "levels\mplay_tf_oilrig01.rif"
  111.     name "LIFTSWITCH D"
  112. }
  113. shape Shp_LiftswitchDB
  114. {
  115.     file "levels\mplay_tf_oilrig01.rif"
  116.     name "LIFTSWITCH DB"
  117. }
  118. shape Shp_LiftswitchDC
  119. {
  120.     file "levels\mplay_tf_oilrig01.rif"
  121.     name "LIFTSWITCH DC"
  122. }
  123. shape Shp_JUNKPILE_F
  124. {
  125.     file "objects\JUNKPILE G.rif"
  126.     name "JUNKPILE F"
  127. }
  128. shape Shp_JUNKPILE_G
  129. {
  130.     file "objects\JUNKPILE G.rif"
  131.     name "JUNKPILE G"
  132. }
  133. shape Shp_GARBAGE_D
  134. {
  135.     file "objects\GARBAGE D.rif"
  136.     name "GARBAGE D"
  137. }
  138. shape Shp_GARBAGE_E
  139. {
  140.     file "objects\GARBAGE E.rif"
  141.     name "GARBAGE E"
  142. }
  143.  
  144. /**********/
  145. /* ROLES  */
  146. /**********/
  147.  
  148. // world objects
  149.  
  150. role Rol_LiftA : Rol_PlacedObject
  151. {
  152.     shape    Shp_LiftA
  153.     ai    track object
  154. }
  155. role Rol_LiftswitchA : Rol_PlacedObject
  156. {
  157.     shape Shp_LiftswitchA
  158.     ai    pickup
  159. }
  160. role Rol_LiftswitchAB : Rol_PlacedObject
  161. {
  162.     shape Shp_LiftswitchAB
  163.     ai    pickup
  164. }
  165. role Rol_LiftswitchAC : Rol_PlacedObject
  166. {
  167.     shape Shp_LiftswitchAC
  168.     ai    pickup
  169. }
  170. role Rol_LiftB : Rol_PlacedObject
  171. {
  172.     shape    Shp_LiftB
  173.     ai    track object
  174. }
  175. role Rol_LiftswitchB : Rol_PlacedObject
  176. {
  177.     shape Shp_LiftswitchB
  178.     ai    pickup
  179. }
  180. role Rol_LiftswitchBB : Rol_PlacedObject
  181. {
  182.     shape Shp_LiftswitchBB
  183.     ai    pickup
  184. }
  185. role Rol_LiftswitchBC : Rol_PlacedObject
  186. {
  187.     shape Shp_LiftswitchBC
  188.     ai    pickup
  189. }
  190. role Rol_LiftC : Rol_PlacedObject
  191. {
  192.     shape    Shp_LiftC
  193.     ai    track object
  194. }
  195. role Rol_LiftswitchC : Rol_PlacedObject
  196. {
  197.     shape Shp_LiftswitchC
  198.     ai    pickup
  199. }
  200. role Rol_LiftswitchCB : Rol_PlacedObject
  201. {
  202.     shape Shp_LiftswitchCB
  203.     ai    pickup
  204. }
  205. role Rol_LiftswitchCC : Rol_PlacedObject
  206. {
  207.     shape Shp_LiftswitchCC
  208.     ai    pickup
  209. }
  210. role Rol_LiftD : Rol_PlacedObject
  211. {
  212.     shape    Shp_LiftD
  213.     ai    track object
  214. }
  215. role Rol_LiftswitchD : Rol_PlacedObject
  216. {
  217.     shape Shp_LiftswitchD
  218.     ai    pickup
  219. }
  220. role Rol_LiftswitchDB : Rol_PlacedObject
  221. {
  222.     shape Shp_LiftswitchDB
  223.     ai    pickup
  224. }
  225. role Rol_LiftswitchDC : Rol_PlacedObject
  226. {
  227.     shape Shp_LiftswitchDC
  228.     ai    pickup
  229. }
  230. role Rol_Junkpile_F : Rol_DefaultJunkpile
  231. {
  232.     shape Shp_JUNKPILE_F
  233. }
  234. role Rol_Junkpile_G : Rol_DefaultJunkpile
  235. {
  236.     shape Shp_JUNKPILE_G
  237. }
  238. role Rol_Garbage_D : Rol_DefaultGarbage
  239. {
  240.     shape Shp_GARBAGE_D
  241. }
  242. role Rol_Garbage_E : Rol_DefaultGarbage
  243. {
  244.     shape Shp_GARBAGE_E
  245. }
  246.  
  247. /***********/
  248. /* THE MAP */
  249. /***********/
  250.  
  251. map /* _THE_ map - doesnt need a label */
  252. {
  253.     file "levels\mplay_tf_oilrig01.rif"
  254.     name "Land"
  255.     bitmap none // obsolete
  256.     camera plane "Camhund"
  257.     max camera distance 100 // TBD exactly
  258.     max camera focus height "max focus height"
  259.     min camera focus height "min focus height"
  260.  
  261.     // PLAYERS TROOPS
  262.  
  263.     // TEAM 1
  264.  
  265.     use Rol_Hark in team 1 for
  266.         "Goodie A" as "hark"
  267.  
  268.     use Rol_Hark in team 1 for
  269.         "Goodie B" as "hark"
  270.  
  271.     use Rol_Frend in team 1 for
  272.         "Goodie C" as "frend"
  273.  
  274.     use Rol_GunLok in team 1 for
  275.         "Goodie D" as "gunlok"
  276.  
  277.     use Rol_GunLok in team 3 for
  278.         "Goodie E" as "gunlok"
  279.  
  280.     use Rol_Hark in team 3 for
  281.         "Goodie F" as "hark"
  282.  
  283.     use Rol_Hark in team 3 for
  284.         "Goodie G" as "hark"
  285.  
  286.     use Rol_Frend in team 3 for
  287.         "Goodie H" as "frend"
  288.  
  289.     // NEUTRAL OBJECTS
  290.  
  291.     use Rol_LiftA in team 0 for
  292.         "LIFT A" as "Lift_A"
  293.     use Rol_LiftswitchA in team 0 for
  294.         "LIFTSWITCH A" as "liftswitch_a"
  295.     use Rol_LiftswitchAB in team 0 for
  296.         "LIFTSWITCH AB" as "liftswitch_ab"
  297.     use Rol_LiftswitchAC in team 0 for
  298.         "LIFTSWITCH AC" as "liftswitch_ac"
  299.  
  300.     use Rol_LiftB in team 0 for
  301.         "LIFT B" as "Lift_B"
  302.     use Rol_LiftswitchA in team 0 for
  303.         "LIFTSWITCH B" as "liftswitch_b"
  304.     use Rol_LiftswitchAB in team 0 for
  305.         "LIFTSWITCH BB" as "liftswitch_bb"
  306.     use Rol_LiftswitchAC in team 0 for
  307.         "LIFTSWITCH BC" as "liftswitch_bc"
  308.  
  309.     use Rol_LiftC in team 0 for
  310.         "LIFT C" as "Lift_C"
  311.     use Rol_LiftswitchA in team 0 for
  312.         "LIFTSWITCH C" as "liftswitch_c"
  313.     use Rol_LiftswitchAB in team 0 for
  314.         "LIFTSWITCH CB" as "liftswitch_cb"
  315.     use Rol_LiftswitchAC in team 0 for
  316.         "LIFTSWITCH CC" as "liftswitch_cc"
  317.  
  318.     use Rol_LiftD in team 0 for
  319.         "LIFT D" as "Lift_D"
  320.     use Rol_LiftswitchA in team 0 for
  321.         "LIFTSWITCH D" as "liftswitch_d"
  322.     use Rol_LiftswitchAB in team 0 for
  323.         "LIFTSWITCH DB" as "liftswitch_db"
  324.     use Rol_LiftswitchAC in team 0 for
  325.         "LIFTSWITCH DC" as "liftswitch_dc"
  326.  
  327.     use Rol_Junkpile_G in team 0 for
  328.         "JUNKPILE G" as "JUNKPILE_G"
  329.  
  330.     use Rol_Junkpile_G in team 0 for
  331.         "JUNKPILE GB" as "JUNKPILE_GB"
  332.  
  333.     use Rol_Junkpile_G in team 0 for
  334.         "JUNKPILE GC" as "JUNKPILE_GC"
  335.  
  336.     use Rol_Junkpile_G in team 0 for
  337.         "JUNKPILE GD" as "JUNKPILE_GD"
  338.  
  339.     use Rol_Junkpile_G in team 0 for
  340.         "JUNKPILE GE" as "JUNKPILE_GE"
  341.  
  342.     use Rol_Junkpile_G in team 0 for
  343.         "JUNKPILE GF" as "JUNKPILE_GF"
  344.     
  345.     use Rol_Junkpile_G in team 0 for
  346.         "JUNKPILE GG" as "JUNKPILE_GG"
  347.  
  348.     use Rol_Junkpile_F in team 0 for
  349.         "JUNKPILE F" as "JUNKPILE_F"
  350.  
  351.     use Rol_Junkpile_F in team 0 for
  352.         "JUNKPILE FB" as "JUNKPILE_FB"
  353.  
  354.     use Rol_Junkpile_F in team 0 for
  355.         "JUNKPILE FC" as "JUNKPILE_FC"
  356.  
  357.     use Rol_Junkpile_F in team 0 for
  358.         "JUNKPILE FD" as "JUNKPILE_FD"
  359.  
  360.     use Rol_Junkpile_F in team 0 for
  361.         "JUNKPILE FE" as "JUNKPILE_FE"
  362.  
  363.     use Rol_Junkpile_F in team 0 for
  364.         "JUNKPILE FF" as "JUNKPILE_FF"
  365.     
  366.     use Rol_Junkpile_F in team 0 for
  367.         "JUNKPILE FG" as "JUNKPILE_FG"
  368.     use Rol_Garbage_D in team 0 for
  369.         "GARBAGE D" as "GARBAGE_D"
  370.  
  371.     use Rol_Garbage_D in team 0 for
  372.         "GARBAGE DB" as "GARBAGE_DB"
  373.  
  374.     use Rol_Garbage_D in team 0 for
  375.         "GARBAGE DC" as "GARBAGE_DC"
  376.  
  377.     use Rol_Garbage_D in team 0 for
  378.         "GARBAGE DD" as "GARBAGE_DD"
  379.  
  380.     use Rol_Garbage_D in team 0 for
  381.         "GARBAGE DE" as "GARBAGE_DE"
  382.  
  383.     use Rol_Garbage_D in team 0 for
  384.         "GARBAGE DF" as "GARBAGE_DF"
  385.  
  386.     use Rol_Garbage_D in team 0 for
  387.         "GARBAGE DG" as "GARBAGE_DG"
  388.  
  389.     use Rol_Garbage_E in team 0 for
  390.         "GARBAGE E" as "GARBAGE_E"
  391.  
  392.     use Rol_Garbage_E in team 0 for
  393.         "GARBAGE EB" as "GARBAGE_EB"
  394.  
  395.     use Rol_Garbage_E in team 0 for
  396.         "GARBAGE EC" as "GARBAGE_EC"
  397.  
  398.     use Rol_Garbage_E in team 0 for
  399.         "GARBAGE ED" as "GARBAGE_ED"
  400.  
  401.     use Rol_Garbage_E in team 0 for
  402.         "GARBAGE EE" as "GARBAGE_EE"
  403.  
  404.     use Rol_Garbage_E in team 0 for
  405.         "GARBAGE EF" as "GARBAGE_EF"
  406.  
  407.     use Rol_Garbage_E in team 0 for
  408.         "GARBAGE EG" as "GARBAGE_EG"
  409.  
  410. }